package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Result;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentOption;

import java.util.List;
import java.util.Map;

public interface StudentService extends IService<Student> {
    //分页查询
    PageResult<Student> getStudent(String name, String degree,Integer clazzId , Integer page1, Integer pageSize);
    //删
    void deleteStudent(List<Integer> ids);
    //增
    void postStudent(Student student);
    //数据回显
    Student getStudentById(Integer id);
    //更新数据
    void putStudent(Student student);
    //违纪处理
    void disposeById(Integer id, Integer score);
    //学历统计
    List<Map<String, Object>> stuentDegreeDate();
    //统计人数
    StudentOption studentCountData();
}
